Optimal. Leaf size=67 \[ \frac {b x^{-2 (1+p)} \left (a+b x^2\right )^{1+p}}{2 a^2 (1+p) (2+p)}-\frac {x^{-2 (2+p)} \left (a+b x^2\right )^{1+p}}{2 a (2+p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {277, 270}
\begin {gather*} \frac {b x^{-2 (p+1)} \left (a+b x^2\right )^{p+1}}{2 a^2 (p+1) (p+2)}-\frac {x^{-2 (p+2)} \left (a+b x^2\right )^{p+1}}{2 a (p+2)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rule 277
Rubi steps
\begin {align*} \int x^{-5-2 p} \left (a+b x^2\right )^p \, dx &=-\frac {x^{-2 (2+p)} \left (a+b x^2\right )^{1+p}}{2 a (2+p)}-\frac {b \int x^{-3-2 p} \left (a+b x^2\right )^p \, dx}{a (2+p)}\\ &=\frac {b x^{-2 (1+p)} \left (a+b x^2\right )^{1+p}}{2 a^2 (1+p) (2+p)}-\frac {x^{-2 (2+p)} \left (a+b x^2\right )^{1+p}}{2 a (2+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.03, size = 62, normalized size = 0.93 \begin {gather*} -\frac {x^{-2 (2+p)} \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \, _2F_1\left (-2-p,-p;-1-p;-\frac {b x^2}{a}\right )}{2 (2+p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 45, normalized size = 0.67
method | result | size |
gosper | \(-\frac {\left (b \,x^{2}+a \right )^{1+p} x^{-4-2 p} \left (-b \,x^{2}+a p +a \right )}{2 \left (2+p \right ) \left (1+p \right ) a^{2}}\) | \(45\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 59, normalized size = 0.88 \begin {gather*} \frac {{\left (b^{2} x^{4} - a b p x^{2} - a^{2} {\left (p + 1\right )}\right )} e^{\left (p \log \left (b x^{2} + a\right ) - 2 \, p \log \left (x\right )\right )}}{2 \, {\left (p^{2} + 3 \, p + 2\right )} a^{2} x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.88, size = 67, normalized size = 1.00 \begin {gather*} \frac {{\left (b^{2} x^{5} - a b p x^{3} - {\left (a^{2} p + a^{2}\right )} x\right )} {\left (b x^{2} + a\right )}^{p} x^{-2 \, p - 5}}{2 \, {\left (a^{2} p^{2} + 3 \, a^{2} p + 2 \, a^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.02, size = 96, normalized size = 1.43 \begin {gather*} -{\left (b\,x^2+a\right )}^p\,\left (\frac {x\,\left (p+1\right )}{2\,x^{2\,p+5}\,\left (p^2+3\,p+2\right )}-\frac {b^2\,x^5}{2\,a^2\,x^{2\,p+5}\,\left (p^2+3\,p+2\right )}+\frac {b\,p\,x^3}{2\,a\,x^{2\,p+5}\,\left (p^2+3\,p+2\right )}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________